package main;

import java.awt.BorderLayout;
import java.awt.FlowLayout;
import java.awt.GridLayout;

import javax.swing.JFrame;
import javax.swing.JLabel;
import javax.swing.JPanel;

/**
 * Main UI class.
 */
public class BounceBall extends JFrame {
    /**
     * Default constructor.
     */
    public BounceBall() {
        // Calling Game Display Class.
        setSize(350, 350);
        add(new GameDisplay(300,300));
        setTitle("Bounce Ball");
        setDefaultCloseOperation(EXIT_ON_CLOSE);
        setLocationRelativeTo(null);
        //setIgnoreRepaint(true);
        setResizable(true);
        setVisible(true);

    }

    /**
     * @param args : args
     */
    public static void main(final String[] args) {
        BounceBall bounceBall = new BounceBall();
    }


}
